home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 123
/
(Vol 123) Jan 13 2011.iso
/
Games
/
check.swf
/
scripts
/
DefineSprite_62
/
frame_1
/
DoAction.as
Wrap
Text File
|
2011-01-13
|
358b
|
16 lines
stop();
this.onRelease = function()
{
if(_root.kxxxx == 0)
{
if(_root.activePiece[1] == null)
{
this._alpha = 30;
PXPos = Math.round((this._y - 50) / 40 + 1);
PYPos = Math.round((this._x - 50) / 40 + 1);
_root.activePiece[1] = PXPos;
_root.activePiece[2] = PYPos;
}
}
};